package exception;

import enums.ResponseCode;

/**
 * 名称GatewayNotFoundException
 * 描述:网关路由错误异常
 *
 * @version 1.0
 * @author:LYZ
 * @datatime:2024-10-23 14:42
 */
public class GatewayNotFoundException extends GatewayBaseException{

	private static final long serialVersionUID = -5534700534739261761L;

	public GatewayNotFoundException(ResponseCode code) {
		super(code.getMessage(), code);
	}

	public GatewayNotFoundException(Throwable cause, ResponseCode code) {
		super(code.getMessage(), cause, code);
	}
}

